package com.toman.JavaBean;


import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 系统用户
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2016年9月18日 上午9:28:55
 */
public class SysUserEntity implements Serializable{
    private static final long serialVersionUID = 1L;
    //	真实姓名
    private String realName;

    public String getPhotoUrl() {
        return photoUrl;
    }

    public void setPhotoUrl(String photoUrl) {
        this.photoUrl = photoUrl;
    }

    private String photoUrl;

    /**
     * 部门编号
     */
    private String departmentNum;

    public String getAppRoleIdList() {
        return appRoleIdList;
    }

    public void setAppRoleIdList(String appRoleIdList) {
        this.appRoleIdList = appRoleIdList;
    }

    /**
     * App的角色ID名称
     */
    private String appRoleIdList;

    public String getAppRoleIdListName() {
        return appRoleIdListName;
    }

    public void setAppRoleIdListName(String appRoleIdListName) {
        this.appRoleIdListName = appRoleIdListName;
    }

    public String getUserNum() {
        return userNum;
    }

    public void setUserNum(String userNum) {
        this.userNum = userNum;
    }

    /**
     * App的角色ID列表名称
     */
    private String appRoleIdListName;

    /**
     * 用户编号
     */
    private String userNum;

    /**
     * 用户ID
     */

    private String userId;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 盐
     */
    private String salt;

    /**
     * 邮箱
     */

    private String email;

    /**
     * 手机号
     */
    private String mobile;

    /**
     * 关联的公司id
     */
    private String companyId;

    private String companyName;

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    /**
     * 状态  0：禁用   1：正常  2:离职
     */
    private Integer status;

    /**
     * 角色ID列表
     */

    private List<Long> roleIdList;

    /**
     * 创建者ID
     */
    private Long createUserId;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 创建者name
     */

    private String createUserName;

    /**
     * 关联的部门信息
     */
    private String departmentId;

    /**
     * 用来查询用的部门ID集合
     */


    private List<String> departmentIdList = new ArrayList<>();

    /**
     * 修改时间
     */
    private Date updateTime;
    /**
     * 修改者ID
     */
    private Long updateUserId;
    /**
     * 修改者name
     */

    private String updateUserName;


    private String departmentName;

    /**
     * 岗位信息
     */
    private String postInformation;

    public List<String> getDepartmentIdList() {
        return departmentIdList;
    }

    public void setDepartmentIdList(List<String> departmentIdList) {
        this.departmentIdList = departmentIdList;
    }

    public String getPostInformation() {
        return postInformation;
    }

    public void setPostInformation(String postInformation) {
        this.postInformation = postInformation;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public String getUpdateUserName() {
        return updateUserName;
    }

    public void setUpdateUserName(String updateUserName) {
        this.updateUserName = updateUserName;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Long updateUserId) {
        this.updateUserId = updateUserId;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    /**
     * 设置：
     *
     * @param userId
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * 获取：
     *
     * @return Long
     */
    public String getUserId() {
        return userId;
    }

    /**
     * 设置：用户名
     *
     * @param username 用户名
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 获取：用户名
     *
     * @return String
     */
    public String getUsername() {
        return username;
    }

    /**
     * 设置：密码
     *
     * @param password 密码
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取：密码
     *
     * @return String
     */
    //@JsonIgnore
    public String getPassword() {
        return password;
    }

    /**
     * 设置：邮箱
     *
     * @param email 邮箱
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * 获取：邮箱
     *
     * @return String
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置：手机号
     *
     * @param mobile 手机号
     */
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    /**
     * 获取：手机号
     *
     * @return String
     */
    public String getMobile() {
        return mobile;
    }

    /**
     * 设置：状态  0：禁用   1：正常
     *
     * @param status 状态  0：禁用   1：正常
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取：状态  0：禁用   1：正常
     *
     * @return Integer
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置：创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取：创建时间
     *
     * @return Date
     */
    public String getCreateTime() {
        return createTime;
    }

    public List<Long> getRoleIdList() {
        return roleIdList;
    }

    public void setRoleIdList(List<Long> roleIdList) {
        this.roleIdList = roleIdList;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public String getUsefulDateTime() {
        return usefulDateTime;
    }

    public void setUsefulDateTime(String usefulDateTime) {
        this.usefulDateTime = usefulDateTime;
    }

    //@JsonIgnore
    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getDepartmentNum() {
        return departmentNum;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public void setDepartmentNum(String departmentNum) {
        this.departmentNum = departmentNum;
    }
//    有限期
 private String   usefulDateTime;
}
